package com.dwjm.shop.HYZ.client;

import java.io.Serializable;

public class Consumer implements Serializable {
    private Integer id;
    private String account;
    private String password;
    private String realname;
    private String idcard;
    private String tel;
    private Integer age;
    private String province;
    private String city;
    private String district;
    private String addr;
    private Integer state;

    @Override
    public String toString() {
        return "Consumer{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", realname='" + realname + '\'' +
                ", idcard='" + idcard + '\'' +
                ", tel='" + tel + '\'' +
                ", age=" + age +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", addr='" + addr + '\'' +
                ", state=" + state +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Consumer() {
    }

    public Consumer(Integer id, String account, String password, String realname, String idcard, String tel, Integer age, String province, String city, String district, String addr, Integer state) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.realname = realname;
        this.idcard = idcard;
        this.tel = tel;
        this.age = age;
        this.province = province;
        this.city = city;
        this.district = district;
        this.addr = addr;
        this.state = state;
    }
}
